﻿//==================================================================
// Copyright (C) 2011 深圳市中旭企业管理股份有限公司
// 文件名: V_CrmTeachSumup.cs
// 作 者：代码自动生成
// 日 期：2012-3-13 16:12:25
// 描 述：
// 版 本：1.00
// 修改历史纪录
// 版 本  修改时间      修改人            修改内容
// 1.00             
//==================================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
using System.Text;
using Csla;
using lite;
using Csla.Validation;
using Csla.Data;
using System.Data.SqlClient;
using ZX.DAL;
using OpenExpressApp.ORM;

namespace ZX.CRM.Library
{
   /// <summary>
    /// 
    /// </summary>
    [Serializable]
	public class V_CrmTeaSumSave
	{
        // 私有成员变量
            private Guid? id;
		    private string  code;
		    private Guid?  orderid;
		    private Guid?  thodometerid;
		    private DateTime?  prelectdate;
		    private string  isbargain;
		    private string  isstandard;
		    private string  isvalue;
		    private Guid?  jwxid;
		    private string  isgripe;
		    private string  gripeexplain;
		    private string  isclass;
		    private string  classexplain;
		    private string  teachplace;
		    private string  customerpromis;
		    private Guid?  tutorid;
		    private Guid?  deptid;
		    private string  explain;
		    private Guid?  adduser;
		    private DateTime?  addtime;
		    private string  exp1;
		    private string  exp2;
		    private string  exp3;
		    private string  exp4;
		    private string  deptname;
		    private string  uname;
		    private DateTime?  hmdate;
		    private string  expr2;
		    private string  hmtype;
		    private string  ordercode;
		    private string  customercode;
		    private string  state;
		    private string  province;
		    private string  city;
		    private string  area;
		    private string  address;
		    private string  customername;
		    private string  mnemoniccode;
		    private string  ishq;
		    private string  decisionmaker;
		    private string  decisionposition;
		    private string  decisiontel;
		    private string  decisionemail;
		    private DateTime?  companycreatedate;
		    private string  companyproduct;
		    private string  companyattention;
		    private string  companygain;
		    private decimal?  productsum;
		    private string  custestimony;
		    private decimal?  custrainbudget;
		    private string  managerquestion;
		    private string  strongpoint;
		    private string  expr1;
		    private string  character;
		    private string  decisionfancy;
		    private DateTime?  decisionbirthday;
		    private string  credit;
		    private string  schoolscientifc;
		    private string  birthdaytype;
		    private string  homeplace;
		    private string  customerphylogeny;
		    private string  affectdecisioner;
		    private DateTime?  traindate;
		    private string  traincompany;
		    private int?  belowpersonsum;
		    private int?  middlepersonsum;
		    private int?  highpersonsum;
		    private int?  decisionpersonsun;
		    private string  customermgrname;
		    private string  lectorname;
		    private string  addusername;
		    private int?  personsum;
		    private string  trainhistory;
		    private string  painful;
		    private string  pullulation;
		    private string  tradename;
		    private string  saleadvisername;
		    private string  bargainreason;
		    private string  bargaindispute;
		    private int?  bargainnum;
		/// <summary>
        /// 默认构造函数
        /// </summary>
		public V_CrmTeaSumSave(){ }
        /// <summary>
        /// 带参数的构造函数
        /// </summary>
        public V_CrmTeaSumSave(
            Guid? id,
		    string  code,
		    Guid?  orderid,
		    Guid?  thodometerid,
		    DateTime?  prelectdate,
		    string  isbargain,
		    string  isstandard,
		    string  isvalue,
		    Guid?  jwxid,
		    string  isgripe,
		    string  gripeexplain,
		    string  isclass,
		    string  classexplain,
		    string  teachplace,
		    string  customerpromis,
		    Guid?  tutorid,
		    Guid?  deptid,
		    string  explain,
		    Guid?  adduser,
		    DateTime?  addtime,
		    string  exp1,
		    string  exp2,
		    string  exp3,
		    string  exp4,
		    string  deptname,
		    string  uname,
		    DateTime?  hmdate,
		    string  expr2,
		    string  hmtype,
		    string  ordercode,
		    string  customercode,
		    string  state,
		    string  province,
		    string  city,
		    string  area,
		    string  address,
		    string  customername,
		    string  mnemoniccode,
		    string  ishq,
		    string  decisionmaker,
		    string  decisionposition,
		    string  decisiontel,
		    string  decisionemail,
		    DateTime?  companycreatedate,
		    string  companyproduct,
		    string  companyattention,
		    string  companygain,
		    decimal?  productsum,
		    string  custestimony,
		    decimal?  custrainbudget,
		    string  managerquestion,
		    string  strongpoint,
		    string  expr1,
		    string  character,
		    string  decisionfancy,
		    DateTime?  decisionbirthday,
		    string  credit,
		    string  schoolscientifc,
		    string  birthdaytype,
		    string  homeplace,
		    string  customerphylogeny,
		    string  affectdecisioner,
		    DateTime?  traindate,
		    string  traincompany,
		    int?  belowpersonsum,
		    int?  middlepersonsum,
		    int?  highpersonsum,
		    int?  decisionpersonsun,
		    string  customermgrname,
		    string  lectorname,
		    string  addusername,
		    int?  personsum,
		    string  trainhistory,
		    string  painful,
		    string  pullulation,
		    string  tradename,
		    string  saleadvisername,
		    string  bargainreason,
		    string  bargaindispute,
		    int?  bargainnum
            )
        {
            this.id = id;
		    this.code=code;
		    this.orderid=orderid;
		    this.thodometerid=thodometerid;
		    this.prelectdate=prelectdate;
		    this.isbargain=isbargain;
		    this.isstandard=isstandard;
		    this.isvalue=isvalue;
		    this.jwxid=jwxid;
		    this.isgripe=isgripe;
		    this.gripeexplain=gripeexplain;
		    this.isclass=isclass;
		    this.classexplain=classexplain;
		    this.teachplace=teachplace;
		    this.customerpromis=customerpromis;
		    this.tutorid=tutorid;
		    this.deptid=deptid;
		    this.explain=explain;
		    this.adduser=adduser;
		    this.addtime=addtime;
		    this.exp1=exp1;
		    this.exp2=exp2;
		    this.exp3=exp3;
		    this.exp4=exp4;
		    this.deptname=deptname;
		    this.uname=uname;
		    this.hmdate=hmdate;
		    this.expr2=expr2;
		    this.hmtype=hmtype;
		    this.ordercode=ordercode;
		    this.customercode=customercode;
		    this.state=state;
		    this.province=province;
		    this.city=city;
		    this.area=area;
		    this.address=address;
		    this.customername=customername;
		    this.mnemoniccode=mnemoniccode;
		    this.ishq=ishq;
		    this.decisionmaker=decisionmaker;
		    this.decisionposition=decisionposition;
		    this.decisiontel=decisiontel;
		    this.decisionemail=decisionemail;
		    this.companycreatedate=companycreatedate;
		    this.companyproduct=companyproduct;
		    this.companyattention=companyattention;
		    this.companygain=companygain;
		    this.productsum=productsum;
		    this.custestimony=custestimony;
		    this.custrainbudget=custrainbudget;
		    this.managerquestion=managerquestion;
		    this.strongpoint=strongpoint;
		    this.expr1=expr1;
		    this.character=character;
		    this.decisionfancy=decisionfancy;
		    this.decisionbirthday=decisionbirthday;
		    this.credit=credit;
		    this.schoolscientifc=schoolscientifc;
		    this.birthdaytype=birthdaytype;
		    this.homeplace=homeplace;
		    this.customerphylogeny=customerphylogeny;
		    this.affectdecisioner=affectdecisioner;
		    this.traindate=traindate;
		    this.traincompany=traincompany;
		    this.belowpersonsum=belowpersonsum;
		    this.middlepersonsum=middlepersonsum;
		    this.highpersonsum=highpersonsum;
		    this.decisionpersonsun=decisionpersonsun;
		    this.customermgrname=customermgrname;
		    this.lectorname=lectorname;
		    this.addusername=addusername;
		    this.personsum=personsum;
		    this.trainhistory=trainhistory;
		    this.painful=painful;
		    this.pullulation=pullulation;
		    this.tradename=tradename;
		    this.saleadvisername=saleadvisername;
		    this.bargainreason=bargainreason;
		    this.bargaindispute=bargaindispute;
		    this.bargainnum=bargainnum;
		}
        public Guid? ID
        {
            get { return id; }
            set { id = value; }
        }
		/// <summary>
        ///
        /// </summary>
		public string Code
		{
			get {return code;}
			set {code = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public Guid? OrderId
		{
			get {return orderid;}
			set {orderid = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public Guid? ThodometerId
		{
			get {return thodometerid;}
			set {thodometerid = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public DateTime? PrelectDate
		{
			get {return prelectdate;}
			set {prelectdate = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string IsBargain
		{
			get {return isbargain;}
			set {isbargain = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string IsStandard
		{
			get {return isstandard;}
			set {isstandard = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string IsValue
		{
			get {return isvalue;}
			set {isvalue = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public Guid? JWXID
		{
			get {return jwxid;}
			set {jwxid = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string IsGripe
		{
			get {return isgripe;}
			set {isgripe = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string GripeExplain
		{
			get {return gripeexplain;}
			set {gripeexplain = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string IsClass
		{
			get {return isclass;}
			set {isclass = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string ClassExplain
		{
			get {return classexplain;}
			set {classexplain = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string TeachPlace
		{
			get {return teachplace;}
			set {teachplace = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string CustomerPromis
		{
			get {return customerpromis;}
			set {customerpromis = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public Guid? TutorId
		{
			get {return tutorid;}
			set {tutorid = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public Guid? DeptId
		{
			get {return deptid;}
			set {deptid = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string Explain
		{
			get {return explain;}
			set {explain = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public Guid? Adduser
		{
			get {return adduser;}
			set {adduser = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public DateTime? Addtime
		{
			get {return addtime;}
			set {addtime = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string EXP1
		{
			get {return exp1;}
			set {exp1 = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string EXP2
		{
			get {return exp2;}
			set {exp2 = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string EXP3
		{
			get {return exp3;}
			set {exp3 = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string EXP4
		{
			get {return exp4;}
			set {exp4 = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string DeptName
		{
			get {return deptname;}
			set {deptname = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string UName
		{
			get {return uname;}
			set {uname = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public DateTime? HmDate
		{
			get {return hmdate;}
			set {hmdate = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string Expr2
		{
			get {return expr2;}
			set {expr2 = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string HmType
		{
			get {return hmtype;}
			set {hmtype = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string OrderCode
		{
			get {return ordercode;}
			set {ordercode = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string CustomerCode
		{
			get {return customercode;}
			set {customercode = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string State
		{
			get {return state;}
			set {state = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string Province
		{
			get {return province;}
			set {province = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string City
		{
			get {return city;}
			set {city = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string Area
		{
			get {return area;}
			set {area = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string Address
		{
			get {return address;}
			set {address = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string CustomerName
		{
			get {return customername;}
			set {customername = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string MnemonicCode
		{
			get {return mnemoniccode;}
			set {mnemoniccode = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string IsHQ
		{
			get {return ishq;}
			set {ishq = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string Decisionmaker
		{
			get {return decisionmaker;}
			set {decisionmaker = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string DecisionPosition
		{
			get {return decisionposition;}
			set {decisionposition = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string DecisionTel
		{
			get {return decisiontel;}
			set {decisiontel = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string DecisionEmail
		{
			get {return decisionemail;}
			set {decisionemail = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public DateTime? CompanyCreateDate
		{
			get {return companycreatedate;}
			set {companycreatedate = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string CompanyProduct
		{
			get {return companyproduct;}
			set {companyproduct = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string CompanyAttention
		{
			get {return companyattention;}
			set {companyattention = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string CompanyGain
		{
			get {return companygain;}
			set {companygain = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public decimal? ProductSum
		{
			get {return productsum;}
			set {productsum = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string CusTestimony
		{
			get {return custestimony;}
			set {custestimony = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public decimal? CusTrainbudget
		{
			get {return custrainbudget;}
			set {custrainbudget = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string ManagerQuestion
		{
			get {return managerquestion;}
			set {managerquestion = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string StrongPoint
		{
			get {return strongpoint;}
			set {strongpoint = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string Expr1
		{
			get {return expr1;}
			set {expr1 = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string Character
		{
			get {return character;}
			set {character = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string DecisionFancy
		{
			get {return decisionfancy;}
			set {decisionfancy = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public DateTime? DecisionBirthday
		{
			get {return decisionbirthday;}
			set {decisionbirthday = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string Credit
		{
			get {return credit;}
			set {credit = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string SchoolScientifc
		{
			get {return schoolscientifc;}
			set {schoolscientifc = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string BirthdayType
		{
			get {return birthdaytype;}
			set {birthdaytype = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string Homeplace
		{
			get {return homeplace;}
			set {homeplace = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string CustomerPhylogeny
		{
			get {return customerphylogeny;}
			set {customerphylogeny = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string AffectDecisioner
		{
			get {return affectdecisioner;}
			set {affectdecisioner = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public DateTime? TrainDate
		{
			get {return traindate;}
			set {traindate = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string TrainCompany
		{
			get {return traincompany;}
			set {traincompany = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public int? BelowPersonsum
		{
			get {return belowpersonsum;}
			set {belowpersonsum = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public int? MiddlePersonsum
		{
			get {return middlepersonsum;}
			set {middlepersonsum = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public int? HighPersonsum
		{
			get {return highpersonsum;}
			set {highpersonsum = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public int? DecisionPersonsun
		{
			get {return decisionpersonsun;}
			set {decisionpersonsun = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string CustomerMgrName
		{
			get {return customermgrname;}
			set {customermgrname = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string LectorName
		{
			get {return lectorname;}
			set {lectorname = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string AddUserName
		{
			get {return addusername;}
			set {addusername = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public int? PersonSum
		{
			get {return personsum;}
			set {personsum = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string TrainHistory
		{
			get {return trainhistory;}
			set {trainhistory = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string Painful
		{
			get {return painful;}
			set {painful = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string Pullulation
		{
			get {return pullulation;}
			set {pullulation = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string TradeName
		{
			get {return tradename;}
			set {tradename = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string SaleadviserName
		{
			get {return saleadvisername;}
			set {saleadvisername = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string BargainReason
		{
			get {return bargainreason;}
			set {bargainreason = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public string BargainDispute
		{
			get {return bargaindispute;}
			set {bargaindispute = value;}
		}
		/// <summary>
        ///
        /// </summary>
		public int? BargainNum
		{
			get {return bargainnum;}
			set {bargainnum = value;}
		}
	}
}

